package daytrader.framework;
import daytrader.types.Stock;
import daytrader.types.Hold;
import daytrader.types.Portfolio;
import daytrader.lib.LibDataInterface;
/*
 * This interface specifies the expected methods that strategy needs.
 */
public interface EngineStrategyInterface {
   public void setCurrent(Stock current);
   public void setCurrent(Hold current);
   public Stock getCurrent();
   public LibDataInterface getLibData();
   public double getProfit();
   public double getLoss();
   public double getRise();
   public double getFall();
   public Portfolio getPortfolio();
   public void buy(int unit);
   public void sell(int unit);
}
